//入口文件
import Vue from 'vue'
//1.1 导入路由的包
import VueRouter from 'vue-router'
//1.2 安装路由
Vue.use(VueRouter)

//按需导入Mint-UI组件
import { Header } from 'mint-ui'
Vue.component(Header.name,Header)

//导入MUI样式
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'


//1.3 导入自己的router.js路由组件
import router from './router.js'

//导入App根组件
import app from './app.vue'

var vm = new Vue({
	el:'#app',
	data:{},
	methods:{},
	render: c => c(app),
	router //1.4 挂载路由对象到VM实例中
})